package com.gs.gaosheng.domain;

import com.gs.common.annotation.Excel;
import com.gs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 商品表对象 gs_goods
 *
 * @author yy
 * @date 2023-08-03
 */
public class GsGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal goodsPrice;

    /** 商品类型。和类型表关联 */
    @Excel(name = "商品类型。和类型表关联")
    private Long goodsTypeId;

    /** 库存 */
    @Excel(name = "库存")
    private Long goodsStore;

    /** 购物平台1-淘宝2-京东3-拼多多 */
    @Excel(name = "购物平台1-淘宝2-京东3-拼多多")
    private Long goodsPlat;

    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId()
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setGoodsPrice(BigDecimal goodsPrice)
    {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsPrice()
    {
        return goodsPrice;
    }
    public void setGoodsTypeId(Long goodsTypeId)
    {
        this.goodsTypeId = goodsTypeId;
    }

    public Long getGoodsTypeId()
    {
        return goodsTypeId;
    }
    public void setGoodsStore(Long goodsStore)
    {
        this.goodsStore = goodsStore;
    }

    public Long getGoodsStore()
    {
        return goodsStore;
    }
    public void setGoodsPlat(Long goodsPlat)
    {
        this.goodsPlat = goodsPlat;
    }

    public Long getGoodsPlat()
    {
        return goodsPlat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("goodsPrice", getGoodsPrice())
            .append("goodsTypeId", getGoodsTypeId())
            .append("goodsStore", getGoodsStore())
            .append("goodsPlat", getGoodsPlat())
            .toString();
    }
}
